package edu.hwadee.entity;

import java.util.HashSet;
import java.util.Set;

/**
 * Goods entity. @author MyEclipse Persistence Tools
 */

public class Goods implements java.io.Serializable {

	// Fields

	private Integer goodsId;
	private String barcodeNumber;
	private String goodsType;
	private String goodsName;
	private String unit;
	private Short stackingType;
	private Float stackingSpace;
	private Set goodsstorages = new HashSet(0);
	private Set cartypes = new HashSet(0);
	private Set goodssells = new HashSet(0);
	private Set goodsbuies = new HashSet(0);
	private Set railagetasks = new HashSet(0);
	private Set tasks = new HashSet(0);

	// Constructors

	/** default constructor */
	public Goods() {
	}

	/** full constructor */
	public Goods(String barcodeNumber, String goodsType, String goodsName, String unit, Short stackingType,
			Float stackingSpace, Set goodsstorages, Set cartypes, Set goodssells, Set goodsbuies, Set railagetasks,
			Set tasks) {
		this.barcodeNumber = barcodeNumber;
		this.goodsType = goodsType;
		this.goodsName = goodsName;
		this.unit = unit;
		this.stackingType = stackingType;
		this.stackingSpace = stackingSpace;
		this.goodsstorages = goodsstorages;
		this.cartypes = cartypes;
		this.goodssells = goodssells;
		this.goodsbuies = goodsbuies;
		this.railagetasks = railagetasks;
		this.tasks = tasks;
	}

	// Property accessors

	public Integer getGoodsId() {
		return this.goodsId;
	}

	public void setGoodsId(Integer goodsId) {
		this.goodsId = goodsId;
	}

	public String getBarcodeNumber() {
		return this.barcodeNumber;
	}

	public void setBarcodeNumber(String barcodeNumber) {
		this.barcodeNumber = barcodeNumber;
	}

	public String getGoodsType() {
		return this.goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getGoodsName() {
		return this.goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getUnit() {
		return this.unit;
	}

	public void setUnit(String unit) {
		this.unit = unit;
	}

	public Short getStackingType() {
		return this.stackingType;
	}

	public void setStackingType(Short stackingType) {
		this.stackingType = stackingType;
	}

	public Float getStackingSpace() {
		return this.stackingSpace;
	}

	public void setStackingSpace(Float stackingSpace) {
		this.stackingSpace = stackingSpace;
	}

	public Set getGoodsstorages() {
		return this.goodsstorages;
	}

	public void setGoodsstorages(Set goodsstorages) {
		this.goodsstorages = goodsstorages;
	}

	public Set getCartypes() {
		return this.cartypes;
	}

	public void setCartypes(Set cartypes) {
		this.cartypes = cartypes;
	}

	public Set getGoodssells() {
		return this.goodssells;
	}

	public void setGoodssells(Set goodssells) {
		this.goodssells = goodssells;
	}

	public Set getGoodsbuies() {
		return this.goodsbuies;
	}

	public void setGoodsbuies(Set goodsbuies) {
		this.goodsbuies = goodsbuies;
	}

	public Set getRailagetasks() {
		return this.railagetasks;
	}

	public void setRailagetasks(Set railagetasks) {
		this.railagetasks = railagetasks;
	}

	public Set getTasks() {
		return this.tasks;
	}

	public void setTasks(Set tasks) {
		this.tasks = tasks;
	}

}